/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package aviso.property.helpers;

import aviso.property.entity.Property;

/**
 *
 * @author avgusti
 */
public class PropertyFilterLong extends PropertyFilter {

    long val;

    public PropertyFilterLong(Property p, Long val) {
        super(p);
        this.val=val;
    }

    @Override
    public boolean match(Object val) {
        return (Long)val==this.val;
    }
}
